package org.example.struct.array;

/**
 * @author liyishan
 * @date 2024/1/8 10:47
 * @apiNote
 */

public class LCR135CountNumbers {

    public int[] countNumbers(int cnt) {
        int end = (int) Math.pow(10, cnt) - 1;
        int[] res = new int[end];
        for (int i = 0; i < end; i++) {
            res[i] = i + 1;
        }
        return res;
    }
}
